using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IMenuRoleServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:12/09/2010 36:08:02</para>
	/// <para>Class Name: IMenuRoleServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial  interface IMenuRoleService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: MenuRole_ID</para>
		/// <para>Output: MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		MenuRoleEntity SelectOne(int MenuRole_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: Save</para>
		/// <para>Input: MenuRoleEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(MenuRoleEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: MenuRoleEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		MenuRoleEntity SaveRet(MenuRoleEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of MenuRoleEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<MenuRoleEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of MenuRoleEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SaveListRet(List<MenuRoleEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: Update</para>
		/// <para>Input: MenuRoleEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(MenuRoleEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of MenuRoleEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<MenuRoleEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateMenu_ID</para>
		/// <para>Input: NewMenu_ID,MenuRole_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMenu_ID(int NewMenu_ID,int MenuRole_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateRole_ID</para>
		/// <para>Input: NewRole_ID,MenuRole_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateRole_ID(int NewRole_ID,int MenuRole_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: Delete</para>
		/// <para>Input: MenuRoleEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(MenuRoleEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: MenuRole_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int MenuRole_ID);
		#endregion

		#region Select join to MenusRoles functions
		#endregion

		#region Select join to Menus functions
		#endregion

		#region Select join to Roles functions
		#endregion

		#region Select,delete by MenuRole_ID functions
		#endregion

		#region Select,delete by Menu_ID functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByMenu_ID</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllByMenu_ID(int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByMenu_ID</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: MenuRoleDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByMenu_ID(int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByMenu_ID</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllByMenu_IDFilter(string strFilter,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByMenu_ID</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: MenuRoleDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByMenu_IDFilter(string strFilter,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByMenu_ID</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByMenu_ID(int Menu_ID);
		#endregion

		#region Select,delete by Role_ID functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByRole_ID</para>
		/// <para>Input: Role_ID</para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllByRole_ID(int Role_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByRole_ID</para>
		/// <para>Input: Role_ID</para>
		/// <para>Output: MenuRoleDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByRole_ID(int Role_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByRole_ID</para>
		/// <para>Input: Role_ID</para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllByRole_IDFilter(string strFilter,int Role_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByRole_ID</para>
		/// <para>Input: Role_ID</para>
		/// <para>Output: MenuRoleDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByRole_IDFilter(string strFilter,int Role_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByRole_ID</para>
		/// <para>Input: Role_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByRole_ID(int Role_ID);
		#endregion

		#region Select,Delete by Menu_IDRole_ID
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByMenu_IDRole_ID</para>
		/// <para>Input: Menu_ID,Role_ID</para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllByMenu_IDRole_ID(int Menu_ID,int Role_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByMenu_IDRole_ID</para>
		/// <para>Input: Menu_ID,Role_ID</para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByMenu_IDRole_ID(int Menu_ID,int Role_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByMenu_IDRole_ID</para>
		/// <para>Input: Menu_ID,Role_ID</para>
		/// <para>Output: List of MenuRoleEntity</para>
		///</summary>
		[OperationContract]
		List<MenuRoleEntity> SelectAllByMenu_IDRole_IDFilter(string strFilter,int Menu_ID,int Role_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByMenu_IDRole_ID</para>
		/// <para>Input: Menu_ID,Role_ID</para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByMenu_IDRole_IDFilter(string strFilter,int Menu_ID,int Role_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByMenu_IDRole_ID</para>
		/// <para>Input: Menu_ID,Role_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByMenu_IDRole_ID(int Menu_ID,int Role_ID)
;
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END MenuRoleWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

